﻿#include "FITKAssInstanceM4.h"
#include "FITK_Kernel/FITKCore/FITKDataRepo.h"

namespace Interface
{
    void FITKAssemblyInstanceM4::setTransformMatrix(const int row, const int col, const double value)
    {
        //错误判断
        if (row < 0 || row >= 4) return;
        if (col < 0 || col >= 4) return;
        _transformMatrix[row][col] = value;
    }

    double FITKAssemblyInstanceM4::getTransformMatrix(const int row, const int col)
    {
        //错误判断
        if (row < 0 || row >= 4) return 1e64;
        if (col < 0 || col >= 4) return 1e64;
        return _transformMatrix[row][col];
    }

}
